Filename | (eval 1116)[/usr/share/perl5/CGI.pm:932] |
Statements | Executed 4 statements in 8µs |
Eval Invoked At | /usr/share/perl5/CGI.pm line 932 |
Sibling evals | 1, 2, 3, 4 |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
0 | 0 | 0 | 0s | 0s | cache | CGI::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package CGI; sub cache { | ||||
2 | 1 | 5µs | 1 | 2µs | my($self,$new_value) = self_or_default(@_); # spent 2µs making 1 call to CGI::self_or_default |
3 | 1 | 300ns | $new_value = '' unless $new_value; | ||
4 | 1 | 100ns | if ($new_value ne '') { | ||
5 | $self->{'cache'} = $new_value; | ||||
6 | } | ||||
7 | 1 | 3µs | return $self->{'cache'}; | ||
8 | } | ||||
9 | |||||
10 | ; |